import { uri } from '@kit.ArkTS';

export class UrlManager {
  static isValidUrlString(urlString: string): boolean {
    try {
      new uri.URI(urlString);
    } catch (e) {
      return false
    }
    return true;
  }
}